{% extends 'base.html' %}
{% block title %}
    登录
{% endblock %}
{% block main %}
    <form action="{{ url_for('login') }}" method="post">
        <table>
            <tbody>
            <tr>
                <td>用户名：</td>
                <td><input type="text" placeholder="请输入用户名" name="username"/></td>
            </tr>
            <tr>
                <td>密码：</td>
                <td><input type="password" placeholder="请输入用户名" name="password"/></td>
            </tr>
            <tr>
                <td></td>
                <td><input type="submit" value="提交"/></td>
            </tr>
            </tbody>
        </table>
    </form>
    <p>{{ username }}</p>
{% endblock %}